package com.yunji.storage.service;

import com.yunji.storage.bo.StockListQueryBO;
import com.yunji.storage.bo.StockSelectQueryBO;
import com.yunji.storage.domain.StockDO;

import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.service
 * @Title: IStockService
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-15 15:59:29      V1.0        HuaAo       新建类
 */

public interface IStockService {

    List<StockDO> search(StockListQueryBO bo);

    boolean create(StockDO stock);

    boolean updateStock(StockDO stock);

    StockDO select(StockSelectQueryBO bo);

    StockDO select(StockDO stockDO);

    StockDO select(Long stockId);

    boolean update(StockDO update);

    boolean deleteEmptyStock(Long... ids);
}